home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
c
/
asyncio.lha
/
AsyncIO
/
src
/
RequeuePacket.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-10
|
372b
|
19 lines
#include "async.h"
/* this function puts the packet back on the message list of our
* message port.
*/
VOID
AS_RequeuePacket( AsyncFile *file )
{
#ifdef ASIO_NOEXTERNALS
struct ExecBase *SysBase;
SysBase = file->af_SysBase;
#endif
AddHead( &file->af_PacketPort.mp_MsgList, &file->af_Packet.sp_Msg.mn_Node );
file->af_PacketPending = TRUE;
--file->af_Received;
}